//
//  NSArray+NSArrayExtra.m
//  PM25
//
//  Created by zhongaibing on 4/13/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "NSArray+NSArrayExtra.h"

@implementation NSArray (NSArrayExtra)
-(BOOL)isEmptyOrNull
{
    if ([self isKindOfClass:[NSNull class]] || self==nil) {
        return YES;
    }
    else {
        return NO;
    }
}
-(BOOL)hasCount
{
    if (![self isKindOfClass:[NSNull class]] && self!=nil) {
        if ([self count]>0) {
            return YES;
        }
    }
    return NO;
}

@end
